package com.youlai.boot.energyPlan.model.form;

import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.*;

/**
 * 用户能量计划表单对象
 *
 * @author cuishng
 * @since 2025-04-01 14:56
 */
@Getter
@Setter
@Schema(description = "用户能量计划表单对象")
public class UserEnergyPlanForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "能量")
    @NotNull(message = "能量不能为空")
    private Integer energy;


}
